import {
	service
} from '@/api/request.js'

//用户登录
export function Login(data, dept) {
	return service({
		url: `/oauth/token?randomStr=${dept.randomStr}&grant_type=${dept.grant_type}`,
		method: 'POST',
		data
	})
}
